package com.ims.core.enums;

/**
 * 物料类型
 * F    夹具
 * M    物料
 * O    其他
 * T    工具
 * @author IMS
 */
public enum MaterialType {
    FIXTURE('F', "夹具"),
    MATERIAL('M', "物料"),
    OTHER('O', "其他"),
    TOOL('T', "工具");

    private final char code;
    private final String name;

    MaterialType(char code, String name) {
        this.code = code;
        this.name = name;
    }

    public char getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}